#define _CRT_SECURE_NO_WARNINGS
#include"Stack.h"

void Test1()
{
	ST s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);
	StackPush(&s, 3);
	StackPush(&s, 6);
	while (!StackEmpty(&s))
	{
		printf("%d ", StackTop(&s));
		STPop(&s);
	}

	StackDestroy(&s);
}
int main()
{
	Test1();
	return 0;
}